<!doctype html>
<html ng-app='app'>
<head>
    <meta charset='utf-8'>
    <meta http-equiv='X-UA-Compatible' content='chrome=1,IE=edge'>
    <meta name='viewport' content='width=device-width, initial-scale=1'>
    <meta name='renderer' content='webkit'>
    <meta name='keywords' content=''> 
    <meta name='description' content=''>
    <title>欣乐土-管理系统</title>
    <link rel='icon' type='image/png' href='../image/logo-icon.png'>
    <!-- JQuery插件引入 -->
    <script type='text/javascript' src='../plugin/Jquery/jquery-2.0.min.js'></script>
    <!-- Bootstrap引入  -->
    <script type='text/javascript' src='../plugin/Bootstrap/js/bootstrap.min.js'></script>
    <link rel='stylesheet' type='text/css' href='../plugin/Bootstrap/css/bootstrap.min.css'>
    <!-- Angularjs插件引入-->
    <script src='../plugin/AngularJs/angular.min.js'></script>
    <script src='../plugin/AngularJs/angular-route.js'></script>
    <script src='../plugin/AngularJs/angular-sanitize.min.js'></script>
    <!--时间插件-->
    <link href='../plugin/datetimepicker/css/datetimepicker.css' rel='stylesheet' type='text/css'>
    <script type='text/javascript' src='../plugin/datetimepicker/js/bootstrap-datetimepicker.min.js'></script>
    <script type='text/javascript' src='../plugin/datetimepicker/js/locales/bootstrap-datetimepicker.zh-CN.js' charset='UTF-8'></script>
    <!--上传插件-->
    <script type='text/javascript' src='../plugin/Uploadifive/jquery.uploadifive.min.js'></script>
    <link rel='stylesheet' type='text/css' href='../plugin/Uploadifive/uploadifive.css'>
    <!-- HighCharts 插件-->
    <script src='../plugin/HighCharts/highcharts.js'></script>
    <!-- FontAwesome图标引入 -->
    <link rel='stylesheet' type='text/css' href='../plugin/FontAwesome/css/font-awesome.min.css'>
    <!-- CSS样式引入 -->
    <link rel='stylesheet' type='text/css' href='../css/common.css'>
    <link rel='stylesheet' type='text/css' href='../css/common_xy.css'>
    <link rel='stylesheet' type='text/css' href='../css/bootstrap.dev.css'>
    <link rel='stylesheet' type='text/css' href='../css/animate.css'>
    <!-- Less引入 -->
    <link rel='stylesheet/less' stype='text/css' href='../css/style.less'>
    <link rel='stylesheet/less' stype='text/css' href='../css/style_v3.less'>
    <link rel='stylesheet/less' stype='text/css' href='../css/bootstrap-dev.less'>
    <script src='http://cdn.bootcss.com/less.js/1.7.0/less.min.js'></script>
    <style type='text/css'>
        .box-tab >.nav-tabs>li>a {
             margin-right: 0px;
             border-radius: 0px;
        }
    </style>
</head>

<body>
    <div class='header' ng-controller='Header'>
        <div class='logo'>
            <img src='../image/logo.png'>
        </div>
        <div class='title'>
            欣乐土管理平台
        </div>
        <div class='user dropdown'>
            <img class='user-logo' src='../image/user-logo.png'>
            <span class='user-name'>{{userInfo.nickname}}</span>

            <span class='box-icon dropdown-toggle pull-right' data-toggle='dropdown'>
                <i class='fa fa-angle-down'></i>
            </span>

            <ul class='dropdown-menu'>
                <li><a>详情信息</a></li>
                <hr class='hr-sm'>
                <li style='margin:5px 10px; display:block'>
                    <button class='btn btn-danger btn-block' ng-click='logout()'>
                        <i class='fa fa-power-off'></i>
                        退出登录
                    </button>
                </li>
            </ul>
        </div>
        <div class='ops'>
            <span class='box-icon'>
                <i class='fa fa-bell'></i>
            </span>
            <span class='box-icon' onclick='full_screen()'>
                <i class='fa fa-arrows-alt'></i>
            </span>
        </div>

        <!--更改密码模态窗-->
        <div class='modal fade' id='modal-repass'>
            <div class='modal-dialog'>
                <div class='modal-content'>
                    <div class='modal-header'>
                        密码更改
                        <button type='button' class='close' data-dismiss='modal' aria-hidden='true'>&times;</button>
                    </div>
                    <div class='modal-body'>
                        <table class='table-form'>
                            <tr>
                                <td class='td-label'>原密码:</td>
                                <td><input type='password' ng-model='old_pass' class='form-control input-sm'></td>
                            </tr>
                            <tr>
                                <td class='td-label'>新密码:</td>
                                <td><input type='password' ng-model='new_pass' class='form-control input-sm'></td>
                            </tr>
                            <tr>
                                <td class='td-label'>新密码:</td>
                                <td><input type='password' ng-model='re_new_pass' class='form-control input-sm'></td>
                            </tr>
                        </table>
                    </div>
                    <div class='modal-footer'>
                        <button class='btn btn-primary btn-w-sm' ng-click='re_pass()'>确定</button>
                        <button class='btn btn-default btn-w-sm' data-dismiss='modal'>取消</button>
                    </div>
                </div>
            </div>
        </div>
        <!--<div ng-if='version!=''' class='version'><span class='version_number'>版本号：{{version}}</span></div>-->
    </div>

    <div class='left-nav' ng-controller='Menu'>
        <div class='title'>
            网站管理
        </div>
        <ul class='list-group'>
            <div ng-repeat='menu in menus'>
                <li class='list-group-item wrap-shake' ng-click='collapse($index)'>
                    <i class='icon {{menu.icon || "fa fa-circle"}} hover-shake'></i>
                    {{menu.title}}
                    <i class='icon-sys fa fa-angle-right'></i>
                </li>
                <ul class='s-list-group collapse' id='s-list-group-{{menu.id}}'>
                    <li class='list-group-item' ng-repeat='cmenu in menu.child' 
                        ng-click='open(cmenu.url)' data-url='{{cmenu.url}}'>
                        <i class='fa fa-circle'></i>
                        {{cmenu.title}}
                    </li>
                </ul>
            </div>
        </ul>
    </div>

    <div ng-view=''></div>
</body>

<!-- Wangeditor插件引入 -->
<link href='../plugin/WangEditor/css/wangEditor.min.css' rel='stylesheet' type='text/css'>
<script src='../plugin/WangEditor/js/wangEditor.min.js'></script>

<!-- Angular附件引入 -->
<script type='text/javascript' src='./common/init.js'></script>
<script type='text/javascript' src='./common/function.js'></script>
<script type='text/javascript' src='./common/config.js'></script>
<script type='text/javascript' src='./common/route.js'></script>
<script type='text/javascript' src='./common/service.js'></script>
<script type='text/javascript' src='./controller/controller.js'></script>
<script type='text/javascript' src='./controller/controller_user.js'></script>
<script type='text/javascript' src='./controller/controller_withdraw.js'></script>
<script type='text/javascript' src='./controller/controller_deduct.js'></script>
<script type='text/javascript'>
</script>
</html>
